<?php

namespace app\load\service;

use app\load\loadModel\TypeModel;
use think\db\BaseQuery;

/**
 * 服务类型
 */
class ServicesServices
{
    /**
     * 列表
     * @return array|BaseQuery[]
     */
    public function list($where = [], $filed = '*'): array
    {
        return TypeModel::Services()->where($where)->field($filed)->select()->toArray();

    }
}